package cn.mjnxin.charge.model.entity;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
/**
 * demo_plan_list:工作计划管理表
 * create by :clg  2023/8/29
 *
 * @mbg.generated
 */
public class DemoPlanList implements Serializable {
    /**
     * 计划id
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="计划id")
    private Integer planId;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="创建时间")
    private Date createTime;

    /**
     * 结束时间
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="结束时间")
    private Date endTime;

    /**
     * 标题
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="标题")
    private String label;

    /**
     * 计划注释
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="计划注释")
    private String planComment;

    /**
     * 计划内容
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="计划内容")
    private String planContent;

    /**
     * 计划摘要
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="计划摘要")
    private String planSummary;

    /**
     * 开始时间
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="开始时间")
    private Date startTime;

    /**
     * 状态id
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="状态id")
    private Integer statusId;

    /**
     * 标题
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="标题")
    private String title;

    /**
     * 类型id
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="类型id")
    private Integer typeId;

    /**
     * 用户id
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="用户id")
    private Integer planUserId;

    /**
     * 附件id
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="附件id")
    private Integer attachId;

    /**
     * 创建人
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="创建人")
    private String createBy;

    /**
     * 修改人
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="修改人")
    private String updateBy;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    @ApiModelProperty(notes="修改时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getPlanId() {
        return planId;
    }

    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label == null ? null : label.trim();
    }

    public String getPlanComment() {
        return planComment;
    }

    public void setPlanComment(String planComment) {
        this.planComment = planComment == null ? null : planComment.trim();
    }

    public String getPlanContent() {
        return planContent;
    }

    public void setPlanContent(String planContent) {
        this.planContent = planContent == null ? null : planContent.trim();
    }

    public String getPlanSummary() {
        return planSummary;
    }

    public void setPlanSummary(String planSummary) {
        this.planSummary = planSummary == null ? null : planSummary.trim();
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Integer getStatusId() {
        return statusId;
    }

    public void setStatusId(Integer statusId) {
        this.statusId = statusId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getPlanUserId() {
        return planUserId;
    }

    public void setPlanUserId(Integer planUserId) {
        this.planUserId = planUserId;
    }

    public Integer getAttachId() {
        return attachId;
    }

    public void setAttachId(Integer attachId) {
        this.attachId = attachId;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", planId=").append(planId);
        sb.append(", createTime=").append(createTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", label=").append(label);
        sb.append(", planComment=").append(planComment);
        sb.append(", planContent=").append(planContent);
        sb.append(", planSummary=").append(planSummary);
        sb.append(", startTime=").append(startTime);
        sb.append(", statusId=").append(statusId);
        sb.append(", title=").append(title);
        sb.append(", typeId=").append(typeId);
        sb.append(", planUserId=").append(planUserId);
        sb.append(", attachId=").append(attachId);
        sb.append(", createBy=").append(createBy);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DemoPlanList other = (DemoPlanList) that;
        return (this.getPlanId() == null ? other.getPlanId() == null : this.getPlanId().equals(other.getPlanId()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getEndTime() == null ? other.getEndTime() == null : this.getEndTime().equals(other.getEndTime()))
            && (this.getLabel() == null ? other.getLabel() == null : this.getLabel().equals(other.getLabel()))
            && (this.getPlanComment() == null ? other.getPlanComment() == null : this.getPlanComment().equals(other.getPlanComment()))
            && (this.getPlanContent() == null ? other.getPlanContent() == null : this.getPlanContent().equals(other.getPlanContent()))
            && (this.getPlanSummary() == null ? other.getPlanSummary() == null : this.getPlanSummary().equals(other.getPlanSummary()))
            && (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
            && (this.getStatusId() == null ? other.getStatusId() == null : this.getStatusId().equals(other.getStatusId()))
            && (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
            && (this.getTypeId() == null ? other.getTypeId() == null : this.getTypeId().equals(other.getTypeId()))
            && (this.getPlanUserId() == null ? other.getPlanUserId() == null : this.getPlanUserId().equals(other.getPlanUserId()))
            && (this.getAttachId() == null ? other.getAttachId() == null : this.getAttachId().equals(other.getAttachId()))
            && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
            && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getPlanId() == null) ? 0 : getPlanId().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getEndTime() == null) ? 0 : getEndTime().hashCode());
        result = prime * result + ((getLabel() == null) ? 0 : getLabel().hashCode());
        result = prime * result + ((getPlanComment() == null) ? 0 : getPlanComment().hashCode());
        result = prime * result + ((getPlanContent() == null) ? 0 : getPlanContent().hashCode());
        result = prime * result + ((getPlanSummary() == null) ? 0 : getPlanSummary().hashCode());
        result = prime * result + ((getStartTime() == null) ? 0 : getStartTime().hashCode());
        result = prime * result + ((getStatusId() == null) ? 0 : getStatusId().hashCode());
        result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
        result = prime * result + ((getTypeId() == null) ? 0 : getTypeId().hashCode());
        result = prime * result + ((getPlanUserId() == null) ? 0 : getPlanUserId().hashCode());
        result = prime * result + ((getAttachId() == null) ? 0 : getAttachId().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        return result;
    }
}